Skip to contentSkip to conversation

Problem with rtdm_irq_request

Xenomai-help seb p 2 participants 4 messages Feb 2, 2009 – Feb 3, 2009

lore
Share & tools
lore

seb p

author
#0 lore raw

Hello,

I use a atmel card AT91SAM9260 and I install Linux 2.6.25 with xenomai 2.4.4. I am doing a RTDM serial driver. I use the function rtdm_irq_request with the routine rt_rs485_interrupt. The interrupt number is 7. The interrupt is enable when a carracter is in the buffer Rx and the programm execute the routine rt_rs485_interrupt. But in my programm, when a caracter is in the buffer Rx, the programm doesn't execute the routine and I must reboot the linux. The console don't answer.

Have you got an idea of the problem? Thanks.

Séb.

#1 lore raw
Quoted 12 lines · seb p

Hello,

I use a atmel card AT91SAM9260 and I install Linux 2.6.25 with xenomai 2.4.4. I am doing a RTDM serial driver. I use the function rtdm_irq_request
<http://www.xenomai.org/documentation/trunk/html/api/group__rtdmirq.html#g9bb3d95218ac5261e4033fb0bf695073>
with the routine rt_rs485_interrupt. The interrupt number is 7. The interrupt is enable when a carracter is in the buffer Rx and the programm execute the routine rt_rs485_interrupt. But in my programm, when a caracter is in the buffer Rx, the programm doesn't execute the routine and I must reboot the linux. The console don't answer.

Quoted 2 lines

Have you got an idea of the problem? Thanks.

Time is a scarce resource for everyone. With that in mind, please:

- do not report issues based on outdated Xenomai releases unless you made sure that such issue also happens on the latest release. Xenomai 2.4.6.1 will happily work over 2.6.25/arm.

- send an excerpt of your code that helps understanding the issue.

Quoted 9 lines

Séb.

------------------------------------------------------------------------

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Signature · 1 line
Philippe.
author
#2 lore raw

I try with the last version of xenomai but it's the same problem.

I send you my code.

Thank you for your help.

Seb.

________________________________
De : Philippe Gerum <[email protected]>
À : seb p <[email protected]>
Cc : [email protected]� le : Lundi, 2 Février 2009, 9h52mn 27s Objet : Re: [Xenomai-help] Problem with rtdm_irq_request

Quoted 12 lines · seb p

Hello,

I use a atmel card AT91SAM9260 and I install Linux 2.6.25 with xenomai 2.4.4. I am doing a RTDM serial driver. I use the function rtdm_irq_request
<http://www.xenomai.org/documentation/trunk/html/api/group__rtdmirq.html#g9bb3d95218ac5261e4033fb0bf695073>
with the routine rt_rs485_interrupt. The interrupt number is 7. The interrupt is enable when a carracter is in the buffer Rx and the programm execute the routine rt_rs485_interrupt. But in my programm, when a caracter is in the buffer Rx, the programm doesn't execute the routine and I must reboot the linux. The console don't answer.

Quoted 2 lines

Have you got an idea of the problem? Thanks.

Time is a scarce resource for everyone. With that in mind, please:

- do not report issues based on outdated Xenomai releases unless you made sure that such issue also happens on the latest release. Xenomai 2.4.6.1 will happily work over 2.6.25/arm.

- send an excerpt of your code that helps understanding the issue.

Quoted 8 lines

Séb.

------------------------------------------------------------------------

_______________________________________________
Xenomai-help mailing list
[email protected]> https://mail.gna.org/listinfo/xenomai-help

Signature · 1 line
Philippe.
#3 lore raw
Quoted 4 lines · seb p

I try with the last version of xenomai but it's the same problem.

I send you my code.

http://www.xenomai.org/documentation/branches/v2.4.x/html/api/group__rtdmirq.html

Quoted 52 lines

Thank you for your help.

Seb.

------------------------------------------------------------------------
*De :* Philippe Gerum <[email protected]>
*À :* seb p <[email protected]>
*Cc :* [email protected]
*Envoyé le :* Lundi, 2 Février 2009, 9h52mn 27s *Objet :* Re: [Xenomai-help] Problem with rtdm_irq_request

Quoted 6 lines · seb p

Hello,

I use a atmel card AT91SAM9260 and I install Linux 2.6.25 with xenomai 2.4.4. I am doing a RTDM serial driver. I use the function rtdm_irq_request

<http://www.xenomai.org/documentation/trunk/html/api/group__rtdmirq.html#g9bb3d95218ac5261e4033fb0bf695073>

Quoted 8 lines

with the routine rt_rs485_interrupt. The interrupt number is 7. The interrupt is enable when a carracter is in the buffer Rx and the programm execute the routine rt_rs485_interrupt. But in my programm, when a caracter is in the buffer Rx, the programm doesn't execute the routine and I must reboot the linux. The console don't answer.

Have you got an idea of the problem? Thanks.

Time is a scarce resource for everyone. With that in mind, please:

- do not report issues based on outdated Xenomai releases unless you made sure
that such issue also happens on the latest release. Xenomai 2.4.6.1 will happily
work over 2.6.25/arm.

- send an excerpt of your code that helps understanding the issue.

Quoted 9 lines

Séb.

------------------------------------------------------------------------

_______________________________________________
Xenomai-help mailing list [email protected] <mailto:[email protected]>
https://mail.gna.org/listinfo/xenomai-help

Signature · 1 line
Philippe.
Signature · 1 line
Philippe.